home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / lib / tclX6.4c / dist / ucbsrc / Makefile < prev    next >
Encoding:
Makefile  |  1992-12-03  |  1.7 KB  |  56 lines

  1. #
  2. # Makefile --
  3. #
  4. # Makefile for Extended Tcl updates to the standard UCB Tcl.
  5. #------------------------------------------------------------------------------
  6. # Copyright 1992 Karl Lehenbauer and Mark Diekhans.
  7. #
  8. # Permission to use, copy, modify, and distribute this software and its
  9. # documentation for any purpose and without fee is hereby granted, provided
  10. # that the above copyright notice appear in all copies.  Karl Lehenbauer and
  11. # Mark Diekhans make no representations about the suitability of this
  12. # software for any purpose.  It is provided "as is" without express or
  13. # implied warranty.
  14. #------------------------------------------------------------------------------
  15. # $Id: Makefile,v 1.1 92/12/03 12:18:29 jhh Exp Locker: jhh $
  16. #------------------------------------------------------------------------------
  17. #
  18.  
  19.  
  20. include ../Config.mk
  21. include ../config/$(TCL_CONFIG_FILE)
  22. SHELL=/bin/sh
  23.  
  24. #------------------------------------------------------------------------------
  25.  
  26. CFLAGS=$(OPTIMIZE_FLAG) $(XCFLAGS) -I../$(TCL_UCB_DIR) $(MEM_DEBUG_FLAGS) \
  27.   $(SYS_DEP_FLAGS)
  28.  
  29. #------------------------------------------------------------------------------
  30.  
  31. OBJS=tclBasic.o tclExpr.o
  32.  
  33. #------------------------------------------------------------------------------
  34.  
  35. all: made.tmp
  36.  
  37. made.tmp: $(OBJS)
  38.     -$(AR) d  ../libtcl.a $(OBJS)
  39.     $(AR)  cr ../libtcl.a $(OBJS)
  40.     touch made.tmp
  41.  
  42. tclBasic.c: ../$(TCL_UCB_DIR)/tclBasic.c
  43.     rm -f tclBasic.c
  44.     sed -f tclBasic.sed <../$(TCL_UCB_DIR)/tclBasic.c >tclBasic.c
  45.  
  46. tclExpr.c: ../$(TCL_UCB_DIR)/tclExpr.c
  47.     rm -f tclExpr.c
  48.     sed -f tclExpr.sed <../$(TCL_UCB_DIR)/tclExpr.c >tclExpr.c
  49.  
  50. #------------------------------------------------------------------------------
  51.  
  52. clean:
  53.     -rm -f made.tmp tclBasic.c tclExpr.c
  54.     -rm -f $(OBJS)
  55.